export const baseUsage = `
import {PhToast} from 'phoeon'
interface Toast{
    show(msg:string,timer:number=3000):void
}
`;
export const demo1 = `
<template>
<ph-toast ref="toast"/>
<ph-button @click="onClick">打开toast</ph-button>
</template>
<script lang="ts">
...
setup() {
    const toast = ref(null)
    const onClick = ()=>toast.value?.show("我爱你，中国")
    return {toast,onClick}
}
...
</script>
`;
